/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package evidence.model.modeloveTridy;

import java.io.Serializable;
import java.util.List;

/**
 *
 * @author Protheo
 */
public class Klient implements Serializable {
    public static final long serialVersionUID = 1;
    private static transient Ukony ukony;
    private final Integer id;
    private final String jmeno;

    public Klient(Integer id, String jmeno) {
        this.id = id;
        this.jmeno = jmeno;
    }

    public static void setUkony(Ukony ukony) {
        Klient.ukony = ukony;
    }

    public List<String> getKlientUkony(){
        return Klient.ukony.getUkony(id);
    }

    public String getJmeno(){
        return this.jmeno;
    }

    public Integer getId() {
        return id;
    }

    @Override
    public String toString() {
        return "Klient{" + "id=" + id + "jmeno=" + jmeno + '}';
    }
}
